package com.qcxk.yuqian.rtu.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qcxk.yuqian.rtu.entity.Rtu;
import com.qcxk.yuqian.rtu.entity.RtuMeter;

import java.util.List;
import java.util.Map;

/**
 * @auther lp
 * @create 2021-11-15 03:21:45
 * @describe 服务类
 */
public interface IRtuMeterService extends IService<RtuMeter> {

    Page queryRtuPage(Page page, Rtu rtu);

    boolean deleteRtuById(Rtu rtu);

    Page queryRtuStatusPage(Page page, Rtu rtu);

    Rtu findRtu(Rtu rtu);

    int batchAddRtuMeter(List<RtuMeter> list);

    List<Map<String,String>> findRtuMeter(Long id);

    List<Map<String, String>> findListRtuMeterById(Long id);
    Map<String, String> findRtuMeterById(Long id);
    Map findRtuMeterByIdAndMeterCode(Long id, String meterCode);
    Map findRtuMeterByRtuIdAndMeterCode(Long id, String meterCode);
    int addRtuMeter(RtuMeter rm);


}
